package com.xiao.community.dao;

import com.xiao.community.entity.PintuanEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 
 * 
 * @author 韩国涛
 * @email 18862701405@gmail.com
 * @date 2021-09-10 15:22:54
 */
@Mapper
public interface PintuanDao extends BaseMapper<PintuanEntity> {

    @Select("select chengtuan_renshu from pintuan where pintuan_id=#{pintuanId}")
    Integer selectByNum(@Param("pintuanId") Integer pintuanId);
}
